package com.demandbreakdown.xiyun.model.dto.picture;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 图片审核DTO
 *
 * @author poxz
 */
@Data
@Schema(description = "图片审核DTO")
public class PictureReview {

    @Schema(description = "审核状态：0-待审核，1-通过，2-拒绝", example = "2")
    @NotNull(message = "审核状态不能为空")
    private Integer reviewStatus;

    @Schema(description = "审核信息", example = "内容不符合规范")
    @Size(max = 200, message = "审核信息长度不能超过200个字符")
    private String reviewMessage;
}
